made a copy of the cslinux version of the script