add before_install directive