Added to cutscene script and cleaned up some code