use before_install instead