Upgraded to work with Shopify's OAuth2 Authentication