adds dir to run in dir argument