updated execute script with count logic
Merge branch 'master' of https://github.com/benhastings/SeGrid_EC2

updated counting logic