don't use chdir cause it changes the working dir