replace print() calls with dprint() calls