using os.path.join for mac