Target directory should be a pipeline parameter