updated script and file generated