Adds more build script steps borrowed from the OA build script