added run script for discover