adds missing import os and fixes wrong config name