launching apps based on the config