making numproc a paramter for running on aws