Added web_priority and returned to switch()

Web priority is an int that states the number of times web is run
compared to SQL INSERT values. Higher priority number will give less
SQL INSERTS