adds config file, begins main script