Adding generation of scripts