fix for script for linux system