custom dir name can be specified
readme modified to explain new functionality