Adjust phan script to run sub-projects