Remember CWD when updating configs