Cleanup on recommend.pig and udfs.py