Add in basic generation of the lock file