fixed script bug and release version 1.1