Fix script invocation