set up profiles for dev and production
use correct url for production env for share buttons