make changes to make the script compatible with the rsu-launcher