Implemented flag to make smarter random process decisions