Changed test to script