Correct script, only use the given dir.