Updated with sites in $domains array
Added sumupdigits document which takes a number from a form and outputs the sum of each digit