Fixed makefile and python script.