Attempt fix for creating config file