adds write_running_data_and_normals() function to script