added mysql extract script