renamed restorePom() function to restoreSed()
also to be used with .yml files