Adding some analysis scripts