changes to to pass version number to restore the right package