adding an optional argument for specifying the skeleton directory