Refactor image library path