Finish moses trains script