Added things to make scoping a little easier. Took a long ass time.