Seperated all documentation from main code, and further refined flags to change program behavior. Next steps are troubleshooting function output and queryselector output