add lockfile to config load and debug? predicate