updates to old secex scripts fixes double counting bug