Fixing bug where build script exited early due to bs4 dictionary irregularities