host to script relationship is now one to many
removed pointless wait
simplified code to switch between scripts and persisted active script