added an option to invoke a script if reading is successful
comments