update to startmotion script