replace sql script file