Added try-catch for handling error when no options-file has been created.