script for turning off listener