emulating script added