Fixes to impute2-pipeline