set apps and directory settings