Only load config file if details not passed as parameters