Fixed bug in config file uploads