Switches scintillation to correct equation
Adds encoding line to config file
Implicitly imports config

I was getting confused by where the variables came
from