Script now uses velocity