Added facilities for launching different things based on the startup environment.