Free allocated script pointer with free(*script)