Fixed bug when reading option from user at prompt, variable must be global (not local as previously specified, to be used later