Adding a test script
Added config file support