Use os.getcwd() instead of parent of script