Fixed syntax errors in sql files and cleaned up serverstart.sh a bit