Uses prepare_app method to set default values.