updated parser, added a db script