Fixing mongos configuration, and using bash for init script.