Changed the expression max length to 2500 and substitution's to 500