add public directory and cros