Allow configuring embed script location, refs #261