added support for reading inputs from excel spreadsheet