Added input handling for wis and itl variables