add dir to args