Update scipts for runtime env