Added some analysis scripts