adding conditionals wacky subproject folder, index and script files