Fixed a couple of bugs and testing push permits