misc/gandalf-setup: calling main