Update and Refactor for 1.7 build prep