fixed init script bug and updated readme