Add instruction on README and fix some scripts