Mweb 983

@nandy-andy @rogatty Guys, this is a script mostly written by Rafał - please code review it and we could test it when it reaches QA column. Adding @aquilax here if he doesn't mind taking a look :) :8ball: :snowman: :bird:
Why do we use `console.log` here? Shouldn't we use our logger?