script for touch screens