source files are extracted if a directory is given
changed in file cmd and added help text for directories