Rearrange folders and insert strategy for doorkeeper