updated script and config