Returned script to MySQL format