replacing install script, detect merge commits