added chdir in dispatcher and reverted log file deletion