write readme and revise some scripts