added -w flag for gomaxprocs