updated script to version 2.2.0