Added lock file to build script