Read interactive input from user from scripts.