Update web.py

Added support for corresponding changes to submit.py to select memory and machine.