making path to rebase-commit script more generic