add facade script
refine build tasks