Checked out some changes for dist stuff
Fixed connection not adding json header properly