making each application work independently. making use of variable_exists(). awesomesauce