Add increment command
Add guesing function for publish vs publishApp