change home to main in config file