edit control-motor script