fixed control scripts