Cookie expiration fixed, xml comments and check enabled