changing import of os.path to os