added error handling to restricted folders, limited dir label to 15 chars