Now reading from real buffer instead of static. Also added more makefile commands