started integrating my user input code with script