Load config inside of getConfig function, so that exception is handled by app
Changed context to variable arg number