Refactored add Instagram function