added import os to work on windows