Adding HTTP post ability
adding configurability by flags