Renamed startup to spawnStartup and copied a new version of startup for main