Added debug print flag; Moved ConstProp to submit