.sh script bug