add permission for context menus
change folder and source id to string hash