add purge of local repo before run