Version 1 Updates

Added some additional work to fix a problem with integrate used in the
script