fix script invocation for integration testing