need the abspath before running the commands