Made port randomization optional (but default for "make grade")