hacked static to not delete target dir