Changed manifest.json
Fixed hook file and save related bugs