adding script for macpo analysis