added setup script for sharded environment