default niceness to 0
Use global var for max retries and process priority