Fix up Makefile so that can handle absolute paths
Write time slots to file after spying