custom code to modify the classifieds plugin