Fix for setting up cli script on some unix systems