abstracts out prod and dev checks
well this is broke.
switching to rickshaw
messing around.