arrange directories