Fixed some spawning issues. Made the asset script export to correct dir