Enhanced scripted. Added configuration file support.