Update configure

add multiple process support