Add support for multiple applications, start on periodic tasks