51 Degrees V3 update

These changes were made to allow the code to work with 51 degrees V3.