Added compileWithDependencies python script, must refine