Added robust cli param parsing and ability to set a target directory