fix up script in linux
Merge remote-tracking branch 'kali/bug/3450_fix-up-script' into develop