Added ChDir and ProgressBar