Script updated to reflect the pin changes in version 0.7. Note still in development.