adding playpause script and updated other scripts