continued work on script cleanup; updated selenium