Added function to dreate trajectory start file, works!