automatically create configuration file if it doesnt exist