Added pkg_install_pre stage