changed post process to use sql std lib wrapper around sqlite driver