Fixing less-middleware usage

Also using proper path concatenation practices.