convert home and search to use comment directive