Use os module for paths, added comments