Revised joy_control script for demonstration