Execute
SCRIPTNAME
make it work in sh
Remove Bourne Shell support as it was a silly thing
Install to profile.d
Install to profile.d restored