added option to use X cpu's

valid numbers are 1+