Fixed before_install commands