Added execution of general.cfg and removed unused arguments