added setup and teardown ps scripts