removed external config code