Substring option added to run_YAGO