set contents dir