modifications for WildFire and ported SD example