Add debug to before_install