updated processing script with *valid definitions