Launch and Close applications