add work env scripts and legacy scripts.