changes to config and folder renaming to improve security