dir structure and permissions updated