Fixes to vim prep script