script for creating a directory structure