add script to config