New feature: Added appendTo option