Restructured Executor, added more selenium functions