Updated search command to print to browser