added script and sample config file