Then we have to change the script that uses it to wait for $ to exist.

Any ideas for this?