encapsulate the rocket simulation into a function and have the rockoon script file call that function.