Made automagic script run gen-makefile (took me half an hour to figure out I had to do this first...) Also made sure it's running from the right path :)