import os was missing