Correct execution order of tasks in different directories: fix #56