Add the subdirectory at correct position