run as a platform app