Updated library to work with virtual light