added startapp support