update source script and sample config file