Copy and gen off scripts