Fixed authorize shell script bug