Moved the preinstall scripts to Command file