Merged listener and touch scripts, reducing overall script count