added info about statuses permission dir + small changes in code (trivial)