Add application env for displaying errors.