More changes
added priliminary selenium support