Attempts at integrating with Dipa's part? Playback works, but need to revert to original code for editor mode