Updated makefile and added scripts.