add script for copy rootfs