added resume dir to open new tab in previous working dir