add lockfile to prevent parallel runs