Removed check for unpushed stuff as couldnt make it work properly