edits to sharding scripts