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:
Ok this is getting of the screen already. Can it be refactored ?