Ensured that app handles undefined variables as default values