change the require order
i don't think this is the best solution
octopus is on in production by default only
only add the shards info if in prod mode