modified config to accomodate replica sets

Hey Carlos,

Can you review my changes ?

Shahid