Create partDiscovery.sh