Cleanup project preparation code