changes from a series of ifs to a switch case in /sfa/index.html