Merge pull request #7 from xiamike/runnable

fixed sql script
runanble state