fixes from atrium
Add CLI switch on vmoodle dist config