Added defindes and globals-project to project list, and check for file when doing chmod