Added SmartScan option. Optimized/modularized both movies and tv scanning. Syntax corrections.