add a custom script, and image_url support