change image store and output dirctory