updates path to chmod in exec command