changes to makefiles and explore agent