Running dir to be automatically the local dir