couple of refactoring
os.path changed to short alias