Added listener script to read input