fix how the script is passed into the listener.