scripts for input