fixed bug for cases when webdriver returns null for current session.
created mechanism for indexing custom artifacts.