updated script to version 2.0.2