Try to remove the weird config file and replace it with more conventional resource files in other places.