setting up config file correctly