changed middleman to use relative assets