created script for MySQL