Added more torque-script generating functions