Separated install and before_install