add script to set up directory permissions