Reworked XDG_CONFIG_HOME & added a permissions hack