Ensure applications directory