Added some dev code to be able to run test apps interactively