Added booleans to rotate and scale to allow for relative rotation and scaling.