Updated mongo loader with CLI params