include the rot function
add input form
add rotation script