Add #ifdef for turning external data on/off