Script syntax checker