Added variable assignment in scripts