Updated HSA script. Bug-bypass in procedures.py

Still need to make sure that procedures.py changes don't mess anything else up.