Add external script option and template