minor changes in control script