scriptencoding is missing - fixes #9