I have read document's smart filters part but i actually wanted each and every step to run my code. Like how should i add my code in command line. There it's written that java-script engine is already embedded. But in which location i have to add java-script code? How should i check that it is working properly? All these things i wanted to know. Can anyone please guide me? And also i want to know more about smart filters. So is there any article or research paper which can be helpful to me to know smart-filters in detail?