make code to restart apps simpler