Make the script syntax check optional during script validation