add SQL script and bat file