add script and config file