updated script to version 1.6.4