Renamed the data record script and added a record script for reading the orientation