rewrites drone.io script