Read folders and settings from arguments