make rabbit optional