A mixture scripts of perl and shell to control the package between different version