script for reading user input added