added automatedTesting, still has a window left open bug to fix.