Changes the way the lock file is handled