use bash and added inverse logic to test
use bash and added inverse logic to test
Merge pull request #416 from davecramer/master

update script fixes