Changed to return model data with open command.
Fixed bug that caused config file to be ignored.