Added maxruns to process definition