working version that gets css paths

doesn't work with multiple classes yet