more work around wrapper.sh