Updated DB schema to include real timestamps, yubikey serial numbers; script now uses exit codes