Make the control script location independent