Fixed SQL scripts and stuff for Chart-Dev test DB