fixed makefile, added duration parameter one level deeper