cleaned up mysql scripts