try to configure instagram outside of exported function