Adatped to new MediaWorkbench library