Updated grunt task and logic for input data from keyboard