Fix running of registration through nipype
More code reuse, typo fixes