adding preinstall to root