simple control script