working in server and build mode via assemble plugin