Fixed an issue where projects were not being written