added the sql scripts from GREG. They might change and they need added the author comments