fixed = instead of == in compare statement when checking script.