Optimized car movement script.