modify sql script