moved mount/umount into config file