moved appdirs to local for dist